﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DanhSach.ascx.cs" Inherits="UserControl_KienThucVeMat_DanhSach" %>
<%@ Register Assembly="CollectionPager" Namespace="SiteUtils" TagPrefix="cc1" %>
<style type="text/css">
    .style1
    {
        width: 213px;
        height: 31px;
        margin-left: 0px;
    }
    .style3
    {
        width: 15px;
        height: 10px;
    }
</style>
<asp:DataList ID="DataList1" runat="server" DataKeyField="ID" Width="100%" CellPadding="4"
    ForeColor="Black" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None"
    BorderWidth="1px" GridLines="Horizontal">
    <FooterStyle BackColor="#FFFFFF" ForeColor="Black" />
    <HeaderStyle BackColor="#FFFFFF" Font-Bold="True" ForeColor="White" />
    <HeaderTemplate>
        <div class="KhienThucVeMatModul_TieuDe">
            <img alt="" class="style1" src="../../Image/KienThucVeMat/kienthuc_title.jpg" />
        </div>
    </HeaderTemplate>
    <ItemTemplate>
        <table>
            <tr>
                <td>
                    &nbsp;<img class="style3" src="../../Image/KienThucVeMat/mui_ten.gif" /><asp:LinkButton
                        ID="LinkButton1" runat="server" CssClass="linkBold" PostBackUrl='<%# "~/KienThucVeMat.aspx?ID="+Eval("ID") %>'
                        Text='<%# Eval("TieuDe") %>'></asp:LinkButton>
                    <br />
                </td>
            </tr>
            <tr>
                <td width="100%" valign="top">
                    <asp:Image ID="Image1" runat="server" BorderColor="White" CssClass="imgNews" Height="130px"
                        ImageUrl='<%# Eval("AnhDaiDien") %>' Width="130px" />
                    <div class="description">
                        &nbsp;&quot;<asp:Label ID="Label2" runat="server" Font-Italic="True" Text='<%# Eval("GioiThieu") %>'></asp:Label>
                        &quot; ....(<asp:LinkButton ID="LinkButton2" runat="server" ForeColor="Blue" Font-Underline="False"
                            PostBackUrl='<%# "~/HuongDanThanhToan.aspx?ID="+Eval("ID") %>' 
                            Text="Đọc chi tiết"></asp:LinkButton>
                        )</div>
                </td>
            </tr>
        </table>
        <br />
    </ItemTemplate>
    <SelectedItemStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
</asp:DataList>
<cc1:CollectionPager ID="CollectionPager1" runat="server" LabelText="Trang :" PageSize="10"
    ResultsFormat="" ResultsStyle="">
</cc1:CollectionPager>
